package com.mac.hosp_pre.admin.model.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 排班
 *
 * @author mac
 */
@Data
@Schema(name = "排班请求对象")
public class ScheduleReqDto implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Schema(description = "排班编号（医院自己的排班主键）")
	private String hospScheduleId;

	@Schema(description = "医院编号")
	private String hospCode;

	@Schema(description = "科室编号")
	private String deptCode;

	@Schema(description = "职称")
	private String title;

	@Schema(description = "医生名称")
	private String doctName;

	@Schema(description = "擅长技能")
	private String skill;

	@Schema(description = "排班日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date workDate;

	@Schema(description = "排班时间（0：上午 1：下午）")
	private Integer workTime;

	@Schema(description = "可预约数")
	private Integer reservedNumber;

	@Schema(description = "剩余预约数")
	private Integer availableNumber;

	@Schema(description = "挂号费")
	private BigDecimal amount;

	@Schema(description = "排班状态（-1：停诊 0：停约 1：可约）")
	private Integer status;

	@Schema(description = "ID")
	private String id;

	@Schema(description = "创建时间")
	private Date createTime;

	@Schema(description = "更新时间")
	private Date updateTime;

}

